package cn.iocoder.yudao.module.pickbook.controller.admin.classes.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 班级新增/修改 Request VO")
@Data
public class classesSaveReqVO {

    @Schema(description = "班级唯一ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2995")
    private Long id;

    @Schema(description = "班级名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "班级名称不能为空")
    private String name;

    @Schema(description = "班级描述", example = "你猜")
    private String description;

    @Schema(description = "班级口令", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "班级口令不能为空")
    private String code;

    @Schema(description = "创建者ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "8670")
    @NotNull(message = "创建者ID不能为空")
    private Long creatorId;

    @Schema(description = "班级封面图片", example = "https://www.iocoder.cn")
    private String coverUrl;

    @Schema(description = "创建者", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "创建者不能为空")
    private String creator;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新者", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "更新者不能为空")
    private String updater;

    @Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime updateTime;

    @Schema(description = "是否删除")
    private Boolean deleted;

}